package edu.sctu.zhoumengxue.day201505.day20150522;

/**
 * Created by user12 on 2015/5/22.
 */
public class DogTextOne extends AbstreTextTwo {

    public TextInterFace textinterface;

    public DogTextOne(TextInterFace textinterface) {
        this.textinterface = textinterface;
    }


    @Override
    public void getColor() {
        color = "绿色";
    }

    @Override
    public void getSize() {
        size = 10;

    }

    @Override
    public void getAction() {
        action = "run";


    }

    public void getSysOut() {
        textinterface.getInfo(color, size, action);
    }
}
